#ifndef GLOBALSIGNAL_H
#define GLOBALSIGNAL_H

#include <QObject>
#include"singleton.hpp"

class GlobalSignal : public QObject,public Singleton<GlobalSignal>
{
    Q_OBJECT
    friend class Singleton<GlobalSignal>;

private:
    explicit GlobalSignal(QObject *parent = nullptr);

signals:
    void sig_add_friend(const QString& name);
    void sig_add_friend_req(const QString&, const QString&);
    void sig_add_offline_text_msg(const QString&, const QString&, const QDateTime&);
};

#endif // GLOBALSIGNAL_H
